package com.woniuxy.lifeorder.api.dto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单类型表
 * </p>
 *
 * @author 陈瑜洲，吴继明
 * @since 2020-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ORDERTYPE")
@ApiModel(value="Ordertype对象", description="订单类型表")
@KeySequence("OT_ORDERTYPE")
public class Ordertype implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单类型编号")
    @TableId(value = "ORDER_TYPE_ID",type = IdType.INPUT)
    private Integer orderTypeId;

    @ApiModelProperty(value = "订单类型序号")
    @TableField("ORDER_TYPE_NUMBER")
    private String orderTypeNumber;

    @ApiModelProperty(value = "订单类型")
    @TableField("ORDER_TYPE_NAME")
    private String orderTypeName;

    @ApiModelProperty(value = "订单项插入日期")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "软删除")
    @TableField("FLAG")
    private Integer flag;
}
